
import {
    BasicLayout,
    RouteView,
    PageView,
    UserLayout,
  } from '@/layouts';
  
  export default {
    //
    path: '/ShopGoods',
    name: 'ShopGoods',
    component: PageView,
    meta: {
      title: '商品管理',
      icon: 'block',
      keepAlive: false,
    },
    redirect: '/ShopGoodsIndex',
    // hideChildrenInMenu: true,
    children: [
      {
        path: '/ShopGoodsIndex',
        name: 'ShopGoodsIndex',
        component: resolve => require(['@/views/ShopGoods/goodsList.vue'], resolve),
        meta: {
          title: '商品列表',
          icon: 'block',
          keepAlive: false
        },
      },
      {
        path: '/goodsDetails',
        name: 'goodsDetails',
        hidden: true,
        component: resolve => require(['@/views/ShopGoods/goodsDetails.vue'], resolve),
        meta: {
          title: '商品信息',
          icon: 'block',
          keepAlive: false
        },
      },
      {
        path: '/goodsDetailsEdit',
        name: 'goodsDetailsEdit',
        hidden: true,
        component: resolve => require(['@/views/ShopGoods/goodsDetailsEdit.vue'], resolve),
        meta: {
          title: '商品编辑',
          icon: 'block',
          keepAlive: false
        },
      },
    ],
  };
  